<template>
    <div>
        <pageTable
                request-url="/api/job/historyJob"
                :columns="columns"
                v-model="tableData"
                ref="table"
                searchable
        >

        </pageTable>
    </div>
</template>

<script>
    import pageTable from "_c/page-table/page-table";

    export default {
        name: "hsJob",
        components: {
            pageTable
        },
        data() {
            return {
                jobs: [],
                columns: [
                    {title: "订单id", key: "orderId"},
                    {title: "开始时间", key: "startTime", width: 200, sortable: true},
                    {title: "结束时间", key: "endTime", width: 150, sortable: true},
                    {title: "工作量(天)", key: "workload", width: 150},
                    {title: "自行维修率", key: "selfRepaireRate", width: 150},
                    {title: "单次维修时间(天)", key: "singleRepairTime", width: 150},
                ],
                tableData: []
            }
        },
        mounted() {

        }
    }
</script>

<style scoped>

</style>
